Skip to content

Commit

Permalink
fix(client/requestModel): use IsModelInnCdimage to validate model
Browse files Browse the repository at this point in the history
Resolves #596.
If it breaks something, maybe try using both.
  • Loading branch information
thelindat committed Jul 1, 2024
1 parent 45b9560 commit d51a116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imports/requestModel/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function lib.requestModel(model, timeout)
error(("attempted to load invalid model '%s'"):format(model))
end

return lib.streamingRequest(RequestModel, HasModelLoaded, 'model', model, timeout)
return lib.streamingRequest(IsModelInCdimage, HasModelLoaded, 'model', model, timeout)
end

return lib.requestModel

0 comments on commit d51a116

Please sign in to comment.