~pixelinc/gmod-checker.cr

443b7d79d7e015e24b226000ea6df1da04cedb56 — PixeL 5 months ago ce55e57
Change steam id instance to 1
1 files changed, 2 insertions(+), 0 deletions(-)

M src/web.cr
M src/web.cr => src/web.cr +2 -0
@@ 53,6 53,8 @@ post "/api/check" do |ctx|
        # Enforce Public universe bit (STEAM_1..) and Individual account type:
        id.universe = :public
        id.account_type = :individual
        id.instance = 1

        ids << id
      rescue ex : Steam::ID::Error
        job.send Job::Error.new(string_id, ex.message)