Merge pull request '[🐛] 헤더 키 이름 변경' (#55) from seonkyu.kim/AcaMate_API:main into debug
All checks were successful
Back/pipeline/head This commit looks good
All checks were successful
Back/pipeline/head This commit looks good
Reviewed-on: https://git.ipstein.myds.me/AcaMate/AcaMate_API/pulls/55
This commit is contained in:
commit
116b4d5dce
|
@ -229,7 +229,7 @@ app.UseAuthorization();
|
|||
|
||||
// 헤더 미들웨어 부분
|
||||
app.UseMiddleware<APIHeaderMiddleware>
|
||||
((object)new string[] { "iOS_AM_Connect_Key", "And_AM_Connect_Key", "Web_AM_Connect_Key" });
|
||||
((object)new string[] { "iOS_AM_Connect_Key", "And_AM_Connect_Key", "Web-AM-Connect-Key" });
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -24,5 +24,5 @@ namespace Back.Program.Common.Model
|
|||
h_key : h_value
|
||||
iOS_AM_Connect_Key
|
||||
And_AM_Connect_Key
|
||||
Web_AM_Connect_Key
|
||||
Web-AM-Connect-Key
|
||||
*/
|
|
@ -91,7 +91,7 @@ public class AppService: IAppService
|
|||
{
|
||||
h_key = type == "I" ? "iOS_AM_Connect_Key"
|
||||
: (type == "A" ? "And_AM_Connect_Key"
|
||||
: (type == "W" ? "Web_AM_Connect_Key": throw new Exception("ERROR"))),
|
||||
: (type == "W" ? "Web-AM-Connect-Key": throw new Exception("ERROR"))),
|
||||
h_value = headerValue,
|
||||
connect_date = DateTime.Now,
|
||||
specific_id = specific
|
||||
|
|
Loading…
Reference in New Issue
Block a user