From 85d2370d286f31b57e190f7c15dea4cc37e16610 Mon Sep 17 00:00:00 2001 From: Jure Grabnar Date: Tue, 4 Oct 2016 18:19:36 +0200 Subject: [PATCH] Change some values to string in CheckFileInfo --- app/controllers/wopi_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/wopi_controller.rb b/app/controllers/wopi_controller.rb index 35577c4ec..9c1007bdf 100644 --- a/app/controllers/wopi_controller.rb +++ b/app/controllers/wopi_controller.rb @@ -53,8 +53,8 @@ class WopiController < ActionController::Base BaseFileName: @asset.file_file_name, OwnerId: @asset.created_by_id.to_s, Size: @asset.file_file_size, - UserId: @user.id, - Version: @asset.version, + UserId: @user.id.to_s, + Version: @asset.version.to_s, SupportsExtendedLockLength: true, SupportsGetLock: true, SupportsLocks: true,