aboutsummaryrefslogtreecommitdiffstats
path: root/core/plugin/intent/model/intent_token.rb
diff options
context:
space:
mode:
Diffstat (limited to 'core/plugin/intent/model/intent_token.rb')
-rw-r--r--core/plugin/intent/model/intent_token.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/plugin/intent/model/intent_token.rb b/core/plugin/intent/model/intent_token.rb
index cd14286f..f22b0fa8 100644
--- a/core/plugin/intent/model/intent_token.rb
+++ b/core/plugin/intent/model/intent_token.rb
@@ -2,7 +2,7 @@
module Plugin::Intent
class IntentToken < Retriever::Model
- field.string :uri, required: true
+ field.uri :uri, required: true
field.has :model, Retriever::Model
field.has :intent, Plugin::Intent::Intent, required: true
field.has :parent, Plugin::Intent::IntentToken