diff options
author | Toshiaki Asai <toshi.alternative@gmail.com> | 2016-10-22 17:04:13 +0900 |
---|---|---|
committer | Toshiaki Asai <toshi.alternative@gmail.com> | 2016-10-22 19:34:53 +0900 |
commit | 59ce817e847e36ebdc6d5e21393a900b7a66b0eb (patch) | |
tree | faf73cf2d1a032f3b3368ad556ef26f26547557a | |
parent | d787b1d41cc2da20699d3898994b1d337f277178 (diff) | |
download | mikutter-59ce817e847e36ebdc6d5e21393a900b7a66b0eb.tar.gz |
intent: IntentToken modelのuriのtypeを修正
uriフィールドのtypeはuriでないといけない
-rw-r--r-- | core/plugin/intent/model/intent_token.rb | 2 |
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 |