Skip to content

Commit afaecb8

Browse files
committed
String to AbstractString
1 parent b53b4c9 commit afaecb8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/utils.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ default_endpoints = {
55
"api" => "https://api.plot.ly/v2"}
66

77
type PlotlyCredentials
8-
username::String
9-
api_key::String
8+
username::AbstractString
9+
api_key::AbstractString
1010
end
1111

1212
type PlotlyConfig
13-
plotly_domain::String
14-
plotly_api_domain::String
13+
plotly_domain::AbstractString
14+
plotly_api_domain::AbstractString
1515
end
1616

17-
function signin(username::String, api_key::String, endpoints=None)
17+
function signin(username::AbstractString, api_key::AbstractString, endpoints=None)
1818
# Define session credentials/endpoint configuration, where endpoint is a Dict
1919

2020
global plotlycredentials = PlotlyCredentials(username, api_key)

0 commit comments

Comments
 (0)