[api] improve returned error message

This commit is contained in:
Bart Van Der Meerssche 2011-04-08 18:49:41 +00:00
parent e30d3103af
commit 919e29db85
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ is_auth_POST(ReqData, #state{rrdSensor = Sensor, digest = ClientDigest} = State)
ReqData, State};
_NoKey ->
{"Device key has not been provisioned", ReqData, State}
{"No proper provisioning for this sensor", ReqData, State}
end.
is_auth_GET(ReqData, #state{rrdSensor = RrdSensor, token = Token} = State) ->